package org.example.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author TonySong
 * @date 2024/5/6 0006
 * @time 9:36
 */
@FeignClient("provider8000")
public interface FeignService {

    @GetMapping("/order/{id}")
    public String order(@PathVariable("id") Integer id);


}
